test for tcp