Add a test of Watcher functionality.
Decompose Watcher.prototype.getHandler.
tests
working