Added tests and loosened lodash requirements