assertStringEquals("first custom tag html", "<CUSTOM>something</CUSTOM>", customTag.toHtml());
assertNull("second custom tag should have no parent", customTag.getParent());
Node firstChild = customTag.childAt(0);
assertType("firstChild", StringNode.class, firstChild);
CompositeTag parent = firstChild.getParent();
assertNotNull("first child parent should not be null", parent);
assertSame("parent and custom tag should be the same", customTag, parent);
EndTag endTag = (EndTag) node[2];
assertStringEquals("first custom tag html", "</CUSTOM>", endTag.toHtml());