ccpm testing code