fixed flaky tests on windows