modified test to represent AST from add.prog in examples