Added filtering capability for the check_cdc_paths proc [2]

1. added signature
2. fixed typo for the flag
3. added the test file. Unfortunately at this point I did not have any small/public dcp to add it to the test.