Add windows compatibility for the tests.