Fix test not ending correctly
All tests now pass on windows
1.1.1