tcpServer tests