test(compare_and_delete) test for CAD