       rep-diff (partial extensions/replica-diff entry)
       rep-reactions (partial extensions/reactions entry)
       old-replica {:pairs {:a :b :b :c :c :a} :peers [:a :b :c]
+                   :messaging {:onyx.messaging/impl :dummy-messenger}
                    :job-scheduler :onyx.job-scheduler/greedy}
       new-replica (f old-replica)
       diff (rep-diff old-replica new-replica)]

      rep-diff (partial extensions/replica-diff entry)
      rep-reactions (partial extensions/reactions entry)
      old-replica {:job-scheduler :onyx.job-scheduler/balanced
                   :pairs {:a :b :b :c :c :a} 
                   :peers [:a :b :c]
                   :jobs [:j1 :j2]

                                     :j2 :onyx.task-scheduler/balanced} 
                   :tasks {:j1 [:t1] :j2 [:t2]}
                   :allocations {:j1 {:t1 [:a :b]}
                                 :j2 {:t2 [:c :d]}}
                   :messaging {:onyx.messaging/impl :dummy-messenger}}
      new-replica (f old-replica)
      diff (rep-diff old-replica new-replica)]
  (fact (:allocations (f old-replica)) => {:j1 {:t1 [:a :b]} :j2 {:t2 [:c]}})
