added NodeType, Person, and new tests