snitch.js:Refactored way of overriding options
test/snitch.js:Improved test for polling mechanism