test addPhoto