fix HTTPclass tests