                                                                :lifecycles invalid-lifecycles
                                                                :task-scheduler :onyx.task-scheduler/balanced}))))
 
-    (onyx.api/shutdown-env env))) 
+    (onyx.api/shutdown-env env)))
 
 
 (deftest map-set-workflow

        illegal-input-catalog
        [{:onyx/name :in-bootstrapped
          :onyx/type :input
          :onyx/bootstrap? true
          :onyx/batch-size 2}]
        illegal-output-catalog
        [{:onyx/name :in-bootstrapped
          :onyx/type :output
          :onyx/bootstrap? true
          :onyx/batch-size 2}]

        illegal-function-catalog

                                                               :task-scheduler :onyx.task-scheduler/balanced})))

      (is (thrown? Exception (onyx.api/submit-job peer-config {:catalog incomplete-catalog :workflow workflow
                                                               :task-scheduler :onyx.task-scheduler/balanced})))

      (is (thrown? Exception (onyx.api/submit-job peer-config {:catalog bad-fn-ns-form :workflow workflow
                                                               :task-scheduler :onyx.task-scheduler/balanced})))

      (is (thrown? Exception (onyx.api/submit-job peer-config {:catalog bad-input-plugin :workflow workflow
                                                               :task-scheduler :onyx.task-scheduler/balanced})))

      (is (thrown? Exception (onyx.api/submit-job peer-config {:catalog bad-output-plugin :workflow workflow
                                                               :task-scheduler :onyx.task-scheduler/balanced}))))

    (testing "bad-jobs-2"
