minor tweaks to udp testcode and new error string