assert_output
available_pty?
ConsoleHelpers
We define almost the same method with multiple tests. Therefore, it extract into module.