saves checkpoint (testAll)