cabal-install: add test.