Updated the test functionality to create a new HTTP request.