[cli] fix assert_called_with params
When assert_called_with function is used for method, it counts on
the `self` object as the first argument. This behaves differently
in epel6 where it ommits the `self` parameter.
The most platform independet solution is assert whether the method
was called and then examine the call arguments.