fix tests on win