Modified some tests to work with MSVC.
Fixed the tests to work with MSVC when UNICODE is set.
Merge pull request #393 from TsudaKageyu/msvc-tests

Modified some tests to work with MSVC.