increasing test coverage of blessed.terminal