   |> Enum.each(&Code.require_file/1)
 
   setup_all do
-    themes =
-      [
-        null: nil,
-        dummy: Serum.DummyTheme,
-        failing: Serum.FailingTheme,
-        weird: Serum.WeirdTheme,
-        super_weird_1: Serum.SuperWeirdTheme1,
-        super_weird_2: Serum.SuperWeirdTheme2,
-        empty: Serum.EmptyTheme
-      ]
-      |> Enum.map(fn {k, v} -> {k, load(v)} end)
-      |> Enum.map(fn {k, {:ok, theme}} -> {k, theme} end)
-
     {:ok, io_opts} = IOProxy.config()
 
     IOProxy.config(mute_err: false)
     on_exit(fn -> IOProxy.config(Keyword.new(io_opts)) end)
 
-    {:ok, themes}
+    :ok
   end
 
   describe "load/1" do

      assert paths === expected_paths
    end

    test "ignores invalid items", ctx do
      assert {:ok, %{} = paths} = get_templates(ctx.weird)

      expected_paths = %{
        "base" => "/foo/bar/templates/base.html.eex",

      assert paths === expected_paths
    end

    test "fails if the returned value is not a list" do
      {:ok, _theme} = load(Serum.SuperWeirdTheme1)

      assert {:error, msg} = get_includes()
      assert String.contains?(msg, "Serum.SuperWeirdTheme1.get_includes")
      assert String.contains?(msg, inspect("/foo/bar/baz.html.eex"))
    end

    test "fails if the returned list has non-binary values" do
      {:ok, _theme} = load(Serum.SuperWeirdTheme2)

      assert {:error, msg} = get_includes()
      assert String.contains?(msg, "Serum.SuperWeirdTheme2.get_includes")
      assert String.contains?(msg, inspect(42))
    end

    test "may also fail in some other cases" do
      {:ok, _theme} = load(Serum.FailingTheme)

      assert {:error, msg} = get_includes()
      assert String.contains?(msg, "test error from get_includes/0")
    end

    test "does nothing if the theme module is nil" do
      load(nil)
      assert {:ok, %{}} === get_includes()
    end
  end

  describe "get_templates/1" do
    test "successfully retirves a list of paths" do
      {:ok, _theme} = load(Serum.DummyTheme)
      {:ok, %{} = paths} = get_templates()

      expected_paths = %{
        "base" => "/foo/bar/templates/base.html.eex",
