Add pagination tests