Add testcase for bad RequestSpec passed to HttpClient