- watch_directories(): start watcher only if directory is not already watched.
- test/watch.js: attempt watching multiple times the same directory, verify that program ends after 10 seconds and traces show proper behavior