Added photo uploading with tests
Passes all tests