Testing photo uploading and deleting