simplifying checkpoint test