Aravind | test for totree.