added test for chunked requests