Fix prompt_optionlist test.

The problem was passing a dict when fake_prompt_optionlist

Also using "new_callable" instead of "new" argument for @patch