add tests for MockTCPSocket