Added minimal termios test.