Updates test/run to check for tty consoles (for sublime build console and travis pseudo console