diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -2,5 +2,5 @@
 	runhaskell Setup configure --user --enable-tests --enable-benchmarks
 	runhaskell Setup build
 	runhaskell Setup haddock
-	runhaskell Setup test --show-details=always
+	./dist/build/test/test
 	(cd tests; sh runtests.sh)
diff --git a/carray.cabal b/carray.cabal
--- a/carray.cabal
+++ b/carray.cabal
@@ -1,5 +1,5 @@
 name:                carray
-version:             0.1.6.4
+version:             0.1.6.5
 synopsis:            A C-compatible array library.
 description:
   A C-compatible array library.
@@ -21,7 +21,7 @@
   Makefile
 
 source-repository this
-  tag:         0.1.6.4
+  tag:         0.1.6.5
   type:        darcs
   location:    http://hub.darcs.net/thielema/carray/
 
@@ -44,7 +44,7 @@
   build-depends:
     ix-shapable >=0.1 && <0.2,
     binary >=0.5 && <0.9,
-    QuickCheck >=2.4 && <2.9
+    QuickCheck >=2.4 && <2.10
 
   if flag(bytestringInBase)
     build-depends: base >=2.0 && <2.2
diff --git a/src/Data/Array/CArray/Base.hs b/src/Data/Array/CArray/Base.hs
--- a/src/Data/Array/CArray/Base.hs
+++ b/src/Data/Array/CArray/Base.hs
@@ -171,9 +171,7 @@
                     !(fp0, off, len) = S.toForeignPtr bs
                     fp = mapPtr (flip plusPtr off) fp0
                     p = unsafeForeignPtrToPtr fp
-                    safe =
-                        sizeOf dummy * n <= len &&
-                        p == p `alignPtr` alignment dummy
+                    safe = sizeOf dummy * n <= len && p == p `alignPtr` alignment dummy
           mapPtr :: (Ptr a -> Ptr b) -> ForeignPtr a -> ForeignPtr b
           mapPtr f (ForeignPtr addr contents) =
               case f $ Ptr addr of
diff --git a/tests/meteor-contest-c.hs b/tests/meteor-contest-c.hs
--- a/tests/meteor-contest-c.hs
+++ b/tests/meteor-contest-c.hs
@@ -1,5 +1,5 @@
 {-# OPTIONS -O2 -optc-O3 #-}
-{-# LANGUAGE BangPatterns #-}
+{-# LANGUAGE BangPatterns#-}
 
 -- The Computer Language Benchmarks Game
 --   http://shootout.alioth.debian.org/
@@ -34,7 +34,6 @@
 cellAt :: Int -> Int -> Int
 cellAt x y = x + n_col * y
 
--- swap
 coordOf :: Int -> (Int, Int)
 coordOf i = snd &&& fst $ i `quotRem` n_col
 
diff --git a/tests/meteor-contest-u.hs b/tests/meteor-contest-u.hs
--- a/tests/meteor-contest-u.hs
+++ b/tests/meteor-contest-u.hs
@@ -1,5 +1,5 @@
 {-# OPTIONS -O2 -optc-O3 #-}
-{-# LANGUAGE BangPatterns #-}
+{-# LANGUAGE BangPatterns#-}
 
 -- The Computer Language Benchmarks Game
 --   http://shootout.alioth.debian.org/
diff --git a/tests/tests.hs b/tests/tests.hs
--- a/tests/tests.hs
+++ b/tests/tests.hs
@@ -122,9 +122,9 @@
             QC.quickCheckWith (QC.stdArgs {QC.maxSuccess = n}) a
     mapM_ mycheck ca_tests
     mapM_ mycheck [ ("amap"        , prop_amap) ]
---    mapM_ mycheck [ ("accum"       , prop_accum) ]
+    mapM_ mycheck [ ("accum"       , prop_accum) ]
     mapM_ mycheck [ ("composeAssoc", prop_composeAssoc) ]
     mapM_ mycheck [ ("slice all"         , prop_slice_all)
-                 {- , ("ixmapWithInd amap" , prop_ixmapWithInd_amap) -} ]
+                  , ("ixmapWithInd amap" , prop_ixmapWithInd_amap) ]
 
 -- arb n k = generate n (mkStdGen k) arbitrary
