working on the logic to get the http request tests working