Fixing assertion in test so it passes on windows