Added example and integration testing for cc mode