added test for create metadata
add tests for XmlRequest factory methods.