fix compatibility tree unit test.