more test cases in TreeBuilderTest