Provide a mocked version the tests to reach windows specific code.