Added tests for CDA