Added some functionality to test_TcpServer and test_TcpClient.