test code for cds