Refactor unit test to use OHHTTPStubs for http mocking [AGIOS-11]