Add more tests for resumption with retry

Cover cases where crash happens at different point of atom
failure processing.

Change-Id: I3ba1cacbcec2a052e91f508debf3fef9b04c3d42
Merge "Add more tests for resumption with retry"