Fix path separator issues in tests.

Some tests fail under Windows due to hardcoded *nix path separators.