Fixed tests and script on windows