Improve Windows test script.