pager testing for galleries