haskell: upgrade pure-cdb and enable testing