Remove some MSVC warning in tests