[serial] misc console tests
[serial] unset 'raw' state on external tty/pty in unix sim
[serial] test writing to external tty