-DI tests
-Fixed directly serializing XmlElements