Use forward slash in #2637's test on windows

Don't use toString to output file names in tests,
its output is platform dependent -- use `testIdent` instead.