Fix win tests

Thanks to the Vagrant box I found a few failing tests on Windows and fixed those.