fix cdr testcase