Fix nodeEq, add more tests