     end
 
     ExUnit.Server.modules_loaded()
+    configure_and_reload_on_exit(colors: [enabled: false])
 
     output =
       capture_io(fn ->
         assert ExUnit.run() == %{failures: 1, skipped: 0, total: 1, excluded: 0}
       end)
 
-    assert output =~ "Not implemented"
-    assert output =~ "1 test, 1 failure"
+    assert output =~ "Not implemented\n"
+    assert output =~ "\n1 test, 1 failure\n"
   end
 
   test "skips tagged test with skip" do

  end

  test "does not set timeout to infinity and the max cases to 1 with trace disabled" do
    on_exit_reload_config()
    ExUnit.start(trace: false, autorun: false)
    config = ExUnit.configuration()
    refute config[:trace]

    # Empty because it is already loaded
    {result, output} = run_with_filter([exclude: :module], [])
    assert result == %{failures: 0, skipped: 0, excluded: 2, total: 2}
    assert output =~ "\n2 tests, 0 failures, 2 excluded\n"

    {result, output} =
      [exclude: :test, include: [module: "ExUnitTest.SecondTestModule"]]
      |> run_with_filter([FirstTestModule, SecondTestModule])

    assert result == %{failures: 1, skipped: 0, excluded: 1, total: 2}
    assert output =~ "\n  1) test false (ExUnitTest.SecondTestModule)\n"
    assert output =~ "\n2 tests, 1 failure, 1 excluded\n"
  end

  test "raises on reserved tag :file in module" do
