Made the http_client make test call in constructor to verify functionality.