added tests to cabal