Add TreeIndex<Text>. (#52)
Add tests for TreeIndex<Text>. (#52)