Fixed the test suite in Windows

There is one last remaining issue with the test suite. 1 time out of 10, the first test, about printing the help, will fail, which seems to indicate an async race.