Refactor tests to use lodash for config.