Upgrade pure-cdb and enable tests
Merge pull request #4722 from bosu/check-pure-cdb

haskell: upgrade pure-cdb and enable testing