add tests for cdbn