testing tree index