Add http mock for tests