ASTgenerator test