make pagination tests pass