Expected object, nil and raise as i can see in method `node_validate`