Fix tests on Windows

Tests were failing because Windows uses backslashes but the tests were expecting
forward slashes.