MAX tree test