Added tests to cabal and got test working again.