fix test error on Windows