updated EmbedPhotoTest to improve test cases