[ticket/11903] Speed up paging test

PHPBB3-11903
Merge pull request #1765 from EXreaction/ticket/11903

[ticket/11903] Speed up paging test