integration test for uploading photos