checkpoint implemented for first two tests