Fixes some tests to pass on windows

Just fixes some tests which did not pass on my windows machine.