fix test case on windows