Add tests for TcpServer and Handlers