Added support for running the tests with Cabal.