Fix assertion in TestCreateAndExtend.test_iter_errors()

The method `mock.assert_called_with()` does not exist. However, missing
methods on mocks always return True. To fix that, the `call_args_list`
attribute of the mock was used in the assertion instead.