Fix for test failing on windows