diff --git a/hi.cabal b/hi.cabal
--- a/hi.cabal
+++ b/hi.cabal
@@ -1,9 +1,11 @@
--- This file has been generated from package.yaml by hpack version 0.13.0.
+-- This file has been generated from package.yaml by hpack version 0.20.0.
 --
 -- see: https://github.com/sol/hpack
+--
+-- hash: 34cffe672cc33cc797765e9759adfaf551776d336457e9f942291467d0b6d90d
 
 name:           hi
-version:        1.2.0.1
+version:        1.2.0.2
 cabal-version:  >= 1.10
 build-type:     Simple
 license:        BSD3
@@ -52,19 +54,19 @@
 
 library
     build-depends:
-        base ==4.*,
         ansi-wl-pprint,
+        base ==4.*,
         bytestring,
         directory,
         filepath,
-        optparse-applicative >=0.10.0,
+        optparse-applicative >=0.13.0,
         parsec,
+        process >=1.2.0.0,
         split,
         template ==0.2.*,
+        temporary >=1.2.0.3,
         text >1.0,
-        time,
-        process >=1.2.0.0,
-        temporary >=1.2.0.3
+        time
     exposed-modules:
         Hi
         Hi.Cli
@@ -86,19 +88,19 @@
 
 executable hi
     build-depends:
-        base ==4.*,
         ansi-wl-pprint,
+        base ==4.*,
         bytestring,
         directory,
         filepath,
-        optparse-applicative >=0.10.0,
+        optparse-applicative >=0.13.0,
         parsec,
+        process >=1.2.0.0,
         split,
         template ==0.2.*,
+        temporary >=1.2.0.3,
         text >1.0,
-        time,
-        process >=1.2.0.0,
-        temporary >=1.2.0.3
+        time
     other-modules:
         Hi
         Hi.Cli
@@ -110,6 +112,7 @@
         Hi.Option
         Hi.Template
         Hi.Types
+        Paths_hi
     default-language: Haskell2010
     main-is: Main.hs
     hs-source-dirs:
@@ -118,20 +121,19 @@
 
 test-suite doctests
     build-depends:
-        base ==4.*,
         ansi-wl-pprint,
+        base,
         bytestring,
         directory,
+        doctest >=0.8,
         filepath,
-        optparse-applicative >=0.10.0,
+        optparse-applicative >=0.13.0,
         parsec,
+        process,
         split,
         template ==0.2.*,
         text >1.0,
-        time,
-        base,
-        doctest >=0.8,
-        process
+        time
     other-modules:
         Hi
         Hi.Cli
@@ -149,33 +151,34 @@
         HiSpec
         Spec
         SpecHelper
+        Paths_hi
     default-language: Haskell2010
     type: exitcode-stdio-1.0
     main-is: doctests.hs
     hs-source-dirs:
-        src,
+        src
         test
     ghc-options: -Wall -threaded
 
 test-suite spec
     build-depends:
-        base ==4.*,
+        HUnit,
         ansi-wl-pprint,
+        base ==4.*,
         bytestring,
         directory,
+        doctest,
         filepath,
-        optparse-applicative >=0.10.0,
+        hspec >=2.0.0,
+        optparse-applicative >=0.13.0,
         parsec,
+        process,
+        silently,
         split,
         template ==0.2.*,
+        temporary >=1.2.0.3,
         text >1.0,
-        time,
-        HUnit,
-        doctest,
-        hspec >=2.0.0,
-        process,
-        silently,
-        temporary >=1.2.0.3
+        time
     other-modules:
         Hi
         Hi.Cli
@@ -192,10 +195,11 @@
         Hi.GitSpec
         HiSpec
         SpecHelper
+        Paths_hi
     default-language: Haskell2010
     type: exitcode-stdio-1.0
     main-is: Spec.hs
     hs-source-dirs:
-        src,
+        src
         test
     ghc-options: -Wall
diff --git a/src/Hi/Cli.hs b/src/Hi/Cli.hs
--- a/src/Hi/Cli.hs
+++ b/src/Hi/Cli.hs
@@ -8,7 +8,7 @@
 import           Hi.Option                    (buildOption)
 import           Hi.Types
 
-import           Data.Monoid                  (mempty)
+import           Data.Monoid                  (mempty, (<>))
 import           Data.Version                 (showVersion)
 import           Options.Applicative
 import qualified Text.PrettyPrint.ANSI.Leijen as PP
diff --git a/src/Hi/CommandLineOption.hs b/src/Hi/CommandLineOption.hs
--- a/src/Hi/CommandLineOption.hs
+++ b/src/Hi/CommandLineOption.hs
@@ -5,6 +5,7 @@
   ) where
 
 import           Options.Applicative
+import           Data.Monoid
 
 data CommandLineOption = CommandLineOption
                        { packageName             :: String
diff --git a/test/FeatureSpec.hs b/test/FeatureSpec.hs
--- a/test/FeatureSpec.hs
+++ b/test/FeatureSpec.hs
@@ -76,15 +76,15 @@
           inDirectory "./testapp" $ do
             readProcess "git" ["log", "-1", "--pretty=%s"] [] `shouldReturn` "Initial commit\n"
 
-    describe "with --after-command='cabal sandbox init'" $ do
+    describe "with --after-command='touch a" $ do
       let cmd = runWithCommandLineOptions [ "--after-command"
-                                          , "cabal sandbox init"
+                                          , "touch a"
                                           , "-p"
                                           , packageName
                                           ]
       around_ cmd $ do
-        it "should initialize it as git repository and make first commit" $ do
-          doesFileExist "testapp/cabal.sandbox.config" `shouldReturn` True
+        it "should initialize it as git repository and make file named a" $ do
+          doesFileExist "testapp/a" `shouldReturn` True
 
     describe "-v" $ do
       it "should show version number" $ do
diff --git a/test/doctests.hs b/test/doctests.hs
--- a/test/doctests.hs
+++ b/test/doctests.hs
@@ -2,10 +2,5 @@
 import           System.Process
 import           Test.DocTest
 
-main = do
-    files <- lines <$> readProcess "git" ["ls-files", "src"] []
-    doctest $ ["-idist/build/"
-              ,"-idist/build/autogen"
-              ,"-optP-include"
-              ,"-optPdist/build/autogen/cabal_macros.h"
-              ] ++ files
+main :: IO ()
+main = doctest =<< lines <$> readProcess "git" ["ls-files", "src"] []
