Fix tests in Win
Merge pull request #3944 from dereuromark/3.0-test-win

Fix tests in Win