cabal file and test setup (broken)