Feature/create client

These three methods are very similar. Can you pull out the common code to some method like
  def test_call_with_error(self, mock_client, error)
so that the tests themselves can just have a single line that calls that method?