Add http compression test function