Refactor testnet checkpoints & document progress calculation code