fixed up the photoController class and testphotoController class to remove the error messages from the non existing methods and such