Implemented unit test for Checkpoint scenario