added tests for GalleryModel