Unit test for fetcher

* Tried to inject the http_client but would have meant writing an additional wrapper for open-uri (which seemed somewhat pointless)