Testing optical properties {by measuring geometrical properties or aberrations by analyzing the image formed by the object to be tested by using targets or reference patterns}