Tests for http.dummy.infer_encodings