upgrade to use ast

A test for the update of MPT problems to use AST - this one makes use of a recursive call to visit. The trailing test used print rather than print_error