Accurate testing of aspheric surfaces using the transport of intensity equation by properly selecting the defocusing distance.