Fix tests in windows.