Add tests to the UDP Multithread example