Added test for xml from DOMDocument