Testing buildtree