We need a soft-durability sync for the application in the batch-splitting code.
Fail if sync() is applied behind a between. Added a couple of test cases.