Fix test suite coverage

The part that requires cabal >=1.21 is just the shell script.