Remove 2 pending from specs and fix lib code to make specs pass.

The `pending` call in `cli_spec.rb` could be removed without changing any other code. The one in `favor_modifier_spec.rb` required changes.