checkpoint of test algorithm