Fix test for generic name of diagnostics.