Checkpointing reposurgeon test.

It does not yet work properly.