protected void runTest() throws Throwable {
OMFactory factory = metaFactory.getOMFactory();
Document document = (Document)OMXMLBuilderFactory.createOMBuilder(factory, new StringReader("<root><a/><b/></root>")).getDocument();
Element parent = document.getDocumentElement();
parent.insertBefore(document.createElementNS(null, "c"), null);
NodeList children = parent.getChildNodes();
assertEquals(3, children.getLength());
assertEquals("a", children.item(0).getLocalName());
assertEquals("b", children.item(1).getLocalName());
assertEquals("c", children.item(2).getLocalName());