fix test failures in windows