Make MojoTest run on windows

File separator char was hardcoded in the expected error message. In
windows this is "\" rather than "/" so the test didn't pass.