tests: tcp and udp