Merged telnet tests
Fixed compilation errors