improved HttpInputTest