Fix of GIP test_gallery_edit_photo test