Fixing the failing tests on windows