Runs the test case.
Document doc;
NodeList elementList;
Node employeeNode;
NodeList childList;
Node refChild;
DocumentFragment newdocFragment;
Node newChild1;
Node newChild2;
Node child;
String childName;
Node appendedChild;
Node insertedNode;
doc = (Document) load("staff", true);
elementList = doc.getElementsByTagName("employee");
employeeNode = elementList.item(1);
childList = employeeNode.getChildNodes();
refChild = childList.item(3);
newdocFragment = doc.createDocumentFragment();
newChild1 = doc.createElement("newChild1");
newChild2 = doc.createElement("newChild2");
appendedChild = newdocFragment.appendChild(newChild1);
appendedChild = newdocFragment.appendChild(newChild2);
insertedNode = employeeNode.insertBefore(newdocFragment, refChild);
child = childList.item(3);
childName = child.getNodeName();
assertEquals("childName3", "newChild1", childName);
child = childList.item(4);
childName = child.getNodeName();
assertEquals("childName4", "newChild2", childName);