Add unit test for xmlrpc invocations