refactor watchDirectory to take an object as an argument
refactor tests
Merge pull request #2 from jenius/master

Clean up test file, watchDirectory accepts an object