updated telnet test, removed non-determinism