Added CCSelfTest()