test for creating checkpoint success