create functional test of cdc