Added unit tests - through Mocha and Should.