Test http.Client errors