 
     (testing "that you deliver an alert to POST when a worker goes lt"
       (let [stage ((:factory (get (hive-data-stages-specs) :alert-post))
-                   {
+                   { :params {
                       :in  {:worker "test"}
                       :url "http://post-hook.com"
                       :value "2"
                       :test :lt
                       :window 0
-                   })]
+                   }})]
         ;; We want to push in some worker data.
         ;; Since it is going from both workers to the output
         (conjure/mocking [push-post-alert]

          ))))
    (testing "that you deliver an alert to email when a worker goes eq"
      (let [stage ((:factory (get (hive-data-stages-specs) :alert-email))
                   {
                      :in  {:worker "test"}
                      :url "http://email-hook.com"
                      :value "2"
                      :test :eq
                      :window 0
                   })]
        ;; We want to push in some worker data.
        ;; Since it is going from both workers to the output
        (conjure/mocking [push-email-alert]

(deftest alert-email-stage-test
  (testing "that you deliver an alert to email when a worker goes over"
    (let [stage ((:factory (get (hive-data-stages-specs) :alert-email))
                 {:params {
                    :in  {:worker "test"}
                    :value "2"
                    :test :gt
                    :window 0
                 }})]
      ;; We want to push in some worker data.
      ;; Since it is going from both workers to the output
      (conjure/mocking [push-email-alert]
