Fix tests on Windows OS