watcher and testing