Added test for NodeWithAncestorsSeq.