test for UDP communication