Doing tests for GenericHttpClient