Make test runnable on Windows

(tried to use regex, which intepreted file separator '\' as escape.