tests: make filter-esc tests working also on travis
tests: make filter-esc tests working also on travis

There stderr is not a tty, so filtering isn't turned on by default. Mock
os.isatty() to fake it.

marmarek/qubes-core-mgmt-client,marmarek/qubes-core-mgmt-client,marmarek/qubes-core-mgmt-client