simple AST tree builds correctly