added test case for chunked response data