Added Failing test for standard writes mixed with batch writes
Retry writes when batches fail
Moved retry on exception to Prelude