tests: avoid a spurious failure with MSVC