Use the {def} and {ref} features of run_produces_ok() to look for regexes only in the correct sections. This improves the ability of the test to detect regressions.