ticket:5 fixed test for photo upload; added test for incorrect image