add some more integration tests for galleries