Tests for the TCP RPC implementation