Added tests for OpenPhotoObject