make unit tests pass on windows