Function and test to compare H0Treee