add cabal check to test script