fix tests for windows