better mocking of stdout.tty? / .enable_paging