Changed test so that it does not assume multicast socket will loop back, and added a timeout.