Refactored 'findDistinctValues' and it's unit test to use Underscore.js as option.