fix the tests for the windows platform