add tests for watchPathes