           :expected-type java.lang.Integer
           :found-type clojure.lang.Keyword
           :error-value :invalid
-          :error-key :onyx/batch-size}
+          :error-key :onyx/batch-size
+          :path [:onyx/batch-size]}
          (validate! os/TaskMap {:onyx/name :hello
                                 :onyx/type :input
                                 :onyx/plugin :a

          :expected-type clojure.lang.Keyword
          :found-type java.lang.Long
          :error-value 42
          :error-key :onyx/medium}
         (validate! os/TaskMap {:onyx/type :input
                                :onyx/plugin :a
                                :onyx/medium 42})))

  (is (= {:error-type :value-predicate-error
          :error-key :onyx/name
          :error-value "hello"
          :predicate 'task-name?
          :path [:onyx/name]}
         (validate! os/TaskMap {:onyx/name "hello"
                                :onyx/type :input
                                :onyx/plugin :a
