Add simple tests of save and resume.