 
     test "has no task" do
       volunteers = insert_list(2, :volunteer)
+      coordinator = insert(:coordinator)
       insert(:task, volunteers: volunteers)
 
-      next_task = SummaryHelper.get_next_task(%{id: 1, role: "Coordinator"}, Timex.now())
+      next_task = SummaryHelper.get_next_task(coordinator, Timex.now())
 
       assert next_task == nil
     end


    test "has no task" do
      volunteers = insert_list(2, :volunteer)
      insert(:task, volunteers: volunteers)

      next_task = SummaryHelper.get_next_task(%{id: 1, role: "Teacher"}, Timex.now())

      assert next_task == nil
    end

             start_time: Timex.shift(Timex.now(), days: 1),
             finish_time: Timex.shift(Timex.now(), days: 2),
             volunteers: [volunteer2, volunteer3])
      next_task = SummaryHelper.get_next_task(volunteer1, Timex.now())

      assert next_task == nil
    end
