fix tests for win