Extracted method; check for disallowed test flags.
Formatting extra test flags once.