add unit tests for ProCD