Add unit tests for #hash_to_api_xml