Fix test for Release builds.