Testing IndexingVisitor