fix test for cabal sandbox.