Test against flattened parse tree