Fix unit tests to use cross-platform paths