updated callback tester to include full parse tree