     job = fn -> send pid, :ok end
     interval = 100
 
-    spawn(Kitto.Job, :new, [%{name: :dummy_job,
+    spawn_link(Kitto.Job, :new, [%{name: :dummy_job,
                               job: job,
                               options: %{interval: interval}}])
 

    job = fn -> send pid, :ok end
    interval = 100

    spawn(Kitto.Job, :new, [%{name: :dummy_job,
                              job: job,
                              options: %{interval: interval}}])


    pid = self()
    job = fn -> send pid, :ok end

    spawn_link(Kitto.Job, :new, [%{name: :dummy_job,
                              job: job,
                              options: %{}}])

