Visual testing with video endoscopes