Write initial tests. Add lodash.