       end
 
       ExUnit.Server.modules_loaded()
-      on_exit_reload_config()
+      configure_and_reload_on_exit([])
 
       output =
         capture_io(fn ->

  end

  test "sets max cases to one with trace enabled" do
    on_exit_reload_config()
    ExUnit.start(trace: true, max_cases: 10, autorun: false)
    config = ExUnit.configuration()
    assert config[:trace]

      end

      ExUnit.Server.modules_loaded()
      configure_and_reload_on_exit([])

      output =
        capture_io(fn ->
