Tests for history replay and checkpoints.