fix test for win