Add tests for class cc.