more tests for terminal