diff --git a/Test.hs b/Test.hs
new file mode 100644
--- /dev/null
+++ b/Test.hs
@@ -0,0 +1,30 @@
+import Test.Tasty
+import Test.Tasty.HUnit
+import Test.Tasty.Travis
+
+main :: IO ()
+main = defaultMainWithIngredients ingredients . testGroup "tasty-travis" $
+    [ testGroup "Group 1"
+        [ testCase "Test 1" $ return ()
+        , testCase "Test 2" $ return ()
+        , testCase "Test 3" $ return ()
+        , testCase "Test 4" $ return ()
+        ]
+    , testGroup "Group 2" [ testCase "Test 1" $ return () ]
+    , testGroup "Group 3"
+        [ testCase "Test 0" $ return ()
+        , testGroup "Group 4" $
+            [ testCase "Test 1" $ return ()
+            , testCase "Test 2" $ return ()
+            , testCase "Test 3" $ return ()
+            , testCase "Test 4" $ return ()
+            ]
+        ]
+    , testGroup "Group 4" [ testCase "Test 1" $ return ()]
+    ]
+  where
+    ingredients = [ listingTests , travisTestReporter travisConfig ]
+    travisConfig = defaultConfig
+      { travisFoldGroup = FoldMoreThan 2
+      , travisSummaryWhen = SummaryAlways
+      }
diff --git a/Test/Tasty/Travis.hs b/Test/Tasty/Travis.hs
--- a/Test/Tasty/Travis.hs
+++ b/Test/Tasty/Travis.hs
@@ -196,12 +196,16 @@
     foldHeading name printHeading foldBody = do
         (printBody, stats@Statistics{..}, kids) <- foldBody
         let act label n = WrapIO $ do
-                printHeading
-                when mustSummarise $ printStatisticsNoTime stats
                 when mustFold $
                     putStrLn $ "travis_fold:start:" ++ foldMarker ++ "\\r"
 
-                unwrapIO $ printBody (foldMarker ++ ":") (n+1)
+                if mustSummarise
+                   then do
+                       putStr $ replicate (2*n) ' ' ++ name ++ ": "
+                       printStatisticsNoTime stats
+                   else printHeading
+
+                unwrapIO $ printBody (foldMarker ++ ".") (n+1)
 
                 when mustFold $
                     putStrLn $ "travis_fold:end:" ++ foldMarker ++ "\\r"
diff --git a/tasty-travis.cabal b/tasty-travis.cabal
--- a/tasty-travis.cabal
+++ b/tasty-travis.cabal
@@ -1,5 +1,5 @@
 Name:               tasty-travis
-Version:            0.1.1
+Version:            0.1.2
 
 Homepage:           https://github.com/merijn/tasty-travis
 Bug-Reports:        https://github.com/merijn/tasty-travis/issues
@@ -44,6 +44,16 @@
 
   Build-Depends:        base >= 4.6 && < 5
                ,        tasty == 0.12.*
+
+Test-Suite test
+  Default-Language:     Haskell2010
+  Type:                 exitcode-stdio-1.0
+  Main-Is:              Test.hs
+  GHC-Options:          -Wall -fno-warn-unused-do-bind
+  Build-Depends:        base
+               ,        tasty
+               ,        tasty-hunit == 0.9.*
+               ,        tasty-travis
 
 Source-Repository head
   Type:     git
