Fix failing integ tests on windows

Turns out everything is fine, the integration tests themselves had a few issues on windows.