Fixed some crashing windows tests.