Fix test to work on Windows too

Test currently fails on Windows as it relies on the file separator character being /.

Expectation therefore altered to take into account different separators.

Regards,

Peter.