This test was missed in the LCG updates (see D2475, D2481, D2482).
The lack of flag range was partly responsible for the problem behind D4451
being hidden until activation.
I've also removed the `| MANDATORY` from the flag scanning and restored the
original "Filter out incompatible flag choices" approach (reversing the
liberty taken in backport D354). Since we have so many mandatory flags
(soon to be even more) this makes sure the tests cover as many flag
combinations as possible. But, since we don't just have soft-forking flags,
it is important that tests can define the required_flags that they rely
on for function.