update test to support tcp