fix(watcher): handle paths on Windows

Fixed paths for tests/code so that they also run on Windows. Most of the fixes are to normalize paths.