fix pagination tests