Added JUnit test for UDP client.