update test_tcp.py