Test (and fix) XMLRPC error handling