@Test
    public void testAnnotationIterationForD() {
        //D has no child nodes, should have equal results for recursive and non-recursive iterator
        dIteration(tree.iterator(d));
        dIteration(tree.iteratorRecursive(d));
    }
Tests iterating through D's annotations in a tree.
document/src/test/java/com/yahoo/document/annotation/SpanTreeTestCase.java