nimTestErrorFlag
* fixes #21261; always checking nimTestErrorFlag in the main module * add a test
UnnamedBreak