Fix the compiler error. The test still isn't good, though, as it is not quite reproducing the scenario where we expect to observe a failure.