int start = random.nextInt((int) (maxTestFileSize - minChunkSize));
int end = random.nextInt((int) (maxTestFileSize - minChunkSize - start))
+ minChunkSize + start;
ReusableBuffer result = client.chunk(testFileName, start, end).get();
assertEquals(end - start, result.remaining());
byte[] testData = new byte[end - start];
FileInputStream sIn = new FileInputStream(testFileName);
sIn.skip(start);
sIn.read(testData, 0, end - start);