Test tree, variables, constants