Added tree depth test