Fix tests which failed on Windows
Add release scripts