add checkpoints.cpp in unit tests