added Matlab tree test