Replace pager_page() instead of page() for test suite

Since gh-7009, pager_page is now the function that may actually launch external pagers. By replacing page(), we were hiding some bugs, as in gh-7166.