fix http tests