fix test for windows