test getphoto