Fixed bug with Testphoto.
Removed some debug statements.