Added http client for tests

I try to avoid generic test doubles as they are not very readable and clutter the test code.
Simple hand crafted test implementations result in a much cleaner test code base.