Tree cross-validation test