Fixed test to use lodash