1 Test using id as index of node list
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS elems["id1"].getAttribute("name") is "name1"
7 PASS elems["id2"].getAttribute("name") is "name2"
8 PASS successfullyParsed is true