Issue #2759417 by martin107: Reduce the number of calls to FlagTestBase::createFlagWithForm() to make PHPUnit conversion easier