apply tree testing