error in tree walk test

first steps for tree builder tests