Fix death tests in -Asserts builds.