fix tests on windows