fix http provider test