Fixed unit tests failing on Windows

There were several unit tests introduced in SPR-10608. Some of these
tests fail on Windows because they rely on asserting file names
containing forward slashes, which is not platform independent. These
failures have now been resolved.

Issues: SPR-10770, SPR-10608