Implemented mocha + chai testing
removed lodash dep