Hardening pagination unit test