minor fix
partial implementation of the new tree model
new test added