Building test cases in mocha for underscore methods