fixed pagination tests