Fix tests on Windows

Windows uses backslashes but forward slashes are hard-coded in the tests.