test: extend method of lodash