@Test
public void testSimple() {
String xmlString = "<doc><div class=\"hello\"><h1>heading</h1><p>paragraph</p></div></doc>";
DnodeReader r = new DnodeReader();
Dnode n = r.parseXml(xmlString);
String convertedTo = n.toXml();
Assert.assertEquals(xmlString, convertedTo);