Fix the test on -Asserts build.