Correct the test case so it executes the error path we want.