[Bug] Only replaceSlashes for strings

Caused an error on Windows when 'order' contained a RegEx.

I changed test fixture configs to include a regex, which would cause the test to then fail on Windows.