Tested getNodeAttributes.