added node attributes testing code