attempt to rewrite TcpServiceTest