issue #3541 : Add test case for ccactions. Fix a bug for "Pre" button.