Unit tested ::cpt()