finished tests for creating checkpoints