Added the test for Invalid HTTP requests.