tests for tree analysis