       "APPSIGNAL_PUSH_API_KEY", "00000000-0000-0000-0000-000000000000"
     )
 
-    assert valid_configuration == init_config
+    assert valid_configuration() == init_config()
     assert "00000000-0000-0000-0000-000000000000" == System.get_env("APPSIGNAL_PUSH_API_KEY")
   end
 

    end

    test "valid configuration" do
      assert valid_configuration == init_config
    end

    test "active" do
      System.put_env("APPSIGNAL_ACTIVE", "false")
      assert valid_configuration |> Map.put(:active, false) == init_config
      assert "false" == System.get_env("APPSIGNAL_ACTIVE")
    end

    test "name" do
      System.put_env("APPSIGNAL_APP_NAME", "my_application")
      assert valid_configuration |> Map.put(:name, :my_application) == init_config
      assert "my_application" == System.get_env("APPSIGNAL_APP_NAME")
    end

    test "debug" do
      System.put_env("APPSIGNAL_DEBUG", "true")
      assert valid_configuration |> Map.put(:debug, true) == init_config
      assert "true" == System.get_env("APPSIGNAL_DEBUG_LOGGING")
    end

    test "filter_parameters" do
      System.put_env("APPSIGNAL_FILTER_PARAMETERS", "password,secret")
      assert valid_configuration |> Map.put(:filter_parameters, ~w(password secret)) == init_config
      assert "password,secret" == System.get_env("APPSIGNAL_FILTER_PARAMETERS")
    end

    test "frontend_error_catching_path" do
      System.put_env("APPSIGNAL_FRONTEND_ERROR_CATCHING_PATH", "/appsignal_error_catcher")
      assert valid_configuration |> Map.put(:frontend_error_catching_path, "/appsignal_error_catcher") == init_config
    end

    test "http_proxy" do
      System.put_env("APPSIGNAL_HTTP_PROXY", "http://10.10.10.10:8888")
      assert valid_configuration |> Map.put(:http_proxy, "http://10.10.10.10:8888") == init_config
      assert "http://10.10.10.10:8888" == System.get_env("APPSIGNAL_HTTP_PROXY")
    end


	:appsignal, :config,
	running_in_container: false
      )
      assert valid_heroku_configuration() |> Map.put(:running_in_container, false) == init_config()
      assert "false" == System.get_env("APPSIGNAL_RUNNING_IN_CONTAINER")
    end

