tests: Add tests for automatic use of pager