Update API
Update tests
Add 'lodash' dep