fix test on windows