Append .exe to commands for windows
fix some windows tests