fixes a win32-specific unit test