Add tests to check the XMLRPC endpoint functionality. See #20