The old testing pattern set an attribute on the parser directly. Now that there is a parsed flag, use it instead.