 //MARK: request fails (not through cancellation) after some of the data is received
 
 let failURL = baseURL.appendingPathComponent("fail-after-a-while")
-func partialGET(_ request: URLRequest) -> ([TestURLServer.Chunk], HTTPURLResponse)
+func partialGET(_ request: URLRequest) -> ([TestURLServer.Command], HTTPURLResponse)
 {
   XCTAssertEqual(request.url, failURL)
   XCTAssertEqual(request.httpMethod, "GET")

  let response = HTTPURLResponse(url: request.url!, statusCode: 200, httpVersion: nil, headerFields: headers)
  XCTAssert(data.count > 0)
  XCTAssertNotNil(response)
  return ([.data(data)], response!)
}

extension URLSessionTests

      // headers["Range"] = nil
      // headers["If-Range"] = nil
      let response = HTTPURLResponse(url: largeURL, statusCode: 206, httpVersion: nil, headerFields: headers)!
      return ([.load(data[bounds[0]...]), .finishLoading], response)
    }
    else
    {
