Runs the test case.
Document doc;
NodeList acronymList;
Node testNode;
NamedNodeMap attributes;
Attr titleAttr;
String value;
Text textNode;
Node retval;
Node firstChild;
Node lastChild;
Node refChild = null;
doc = (Document) load("hc_staff", true);
acronymList = doc.getElementsByTagName("acronym");
testNode = acronymList.item(3);
attributes = testNode.getAttributes();
titleAttr = (Attr) attributes.getNamedItem("title");
textNode = doc.createTextNode("terday");
retval = titleAttr.insertBefore(textNode, refChild);
value = titleAttr.getValue();
assertEquals("attrValue", "Yesterday", value);
value = titleAttr.getNodeValue();
assertEquals("attrNodeValue", "Yesterday", value);
value = retval.getNodeValue();
assertEquals("retvalValue", "terday", value);
firstChild = titleAttr.getFirstChild();
value = firstChild.getNodeValue();
assertEquals("firstChildValue", "Yes", value);
lastChild = titleAttr.getLastChild();
value = lastChild.getNodeValue();
assertEquals("lastChildValue", "terday", value);