Fixed unit tests for files sharing watcher