Improved pagination testing