Pagination tests

@AaronHolbrook @mattonomics #reviewmerge