Wavefront sensors for optics testing