add tests for XmlRequest factory methods.