Ported tests for IndexTree.