Runs the test case.
Document doc;
NodeList elementList;
Attr newAttribute;
Node testAddress;
NamedNodeMap attributes;
Attr districtNode;
String attrName;
Node setNode;
doc = (Document) load("hc_staff", true);
elementList = doc.getElementsByTagName("acronym");
testAddress = elementList.item(1);
newAttribute = doc.createAttribute("lang");
attributes = testAddress.getAttributes();
setNode = attributes.setNamedItem(newAttribute);
districtNode = (Attr) attributes.getNamedItem("lang");
attrName = districtNode.getNodeName();
assertEqualsAutoCase("attribute", "nodeName", "lang", attrName);