made unit tests windows-compatible