add checkpoint test