Add NodeIterator tests