added test for the photo retrieval and storage
merge photo tests branch