Internal test verifying the behavior of all `RaiseErrorOn...` flag methods.