Reset the error mode in ContextTest.