Fix tests so that all http operations are stubbed