fix for dummies in watch
fixed file watcher to handle empty directory name
added tests for custom ast nodes