Fixed typo in log message that could cause exceptions.
Test script now contains class to more easily manage multicast groups.