add _is_node_parents_equal_parents_list function
tests for _is_node_parents_equal_parents_list