clean cabal, test fom memory leak