Added Unit Test for watcher.py