Testing of camera