Test to find error in pinhole images