Fix tests for windows os