write tests for ModelCheckpointAdvanced

implement all tests to check ModelCheckpointAdvanced