Issue #2984185 by scuba_fly, Lendude: Convert system functional tests to phpunit for page and pager (cherry picked from commit ae9e0964)