consistency in HttpURLConnection tests