     (is (= [{:testsuite ["suite" "nested suite"] :classname "class" :averageRuntime 10}]
            (average-testclass-runtime-as-list [[(a-testsuite "suite"
                                                              (a-testsuite "nested suite"
-                                                                          (a-testcase-with-runtime "class" "a case" 10)))]]))))
-  (testing "should properly accumulate runtime with multiple same suite and class entries"
-    (is (= [{:name "suite"
-             :children [{:name "a class"
-                         :averageRuntime 60}]}]
-           (average-testclass-runtime [[(a-testsuite "suite" (a-testcase-with-runtime "a class" "a case" 20))
-                                        (a-testsuite "suite" (a-testcase-with-runtime "a class" "another case" 40))]]))))
-
+                                                                          (a-testcase-with-runtime "class" "a case" 10)))]])))))
+
+(deftest test-flaky-testcases-as-list
   (testing "flaky-testcases-as-list"
     (is (= []
            (flaky-testcases-as-list {}

           (accumulate-testsuite-failures [[(a-testsuite "suite"
                                                         (a-testsuite "nested suite" (a-testcase "a case" :fail)))]
                                           [(a-testsuite "suite"
                                                         (a-testsuite "nested suite" (a-testcase "another case" :fail)))]]))))

  (testing "accumulate-testsuite-failures-as-list"
    (is (= []
           (accumulate-testsuite-failures-as-list [])))

           (average-testcase-runtime-as-list [[(a-testsuite "suite"
                                                            (a-testsuite "nested suite" (a-testcase-with-runtime "a class" "a case" 10)))]
                                              [(a-testsuite "suite"
                                                            (a-testsuite "nested suite" (a-testcase-with-runtime "another class" "another case" 20)))]])))))

(deftest test-average-testclass-runtime
  (testing "average-testclass-runtime"
    (is (= []
           (average-testclass-runtime [])))
