integration test for retry on chunk