fix failing test. AST was missing type information for parameters, causing issues with object wrapping in Groovy 2.x and above