Simplify test for NamedNodeMap (related to the previous commit and issue 6315)

http://code.google.com/p/fbug/issues/detail?id=6315