Fixed pagination tests