Enable tests that expect exceptions to be thrown only when exceptions are enabled.