Fixed the tests to work with MSVC when UNICODE is set.