IndexingVisitor testing