Modified Test TcpConnection