add tests for Cmodel