added 2 more tests and fixed minor issue with telnet session setup