Fixed test compatibility with MSVC codegen.