Retry delay measurements tests.
Added file resume and test for it.