fix regression in treatment of ROS msgs after switch to YarpIDL; add test