                                                     (do
                                                       (swap! call-count inc)
                                                       (update-in item [:action] name))))]
-      (let [context (serialization/realize storage-spec create-context)
+      (let [context (serialization/realize storage-spec base-context)
             [checking
              salary
              groceries] (:accounts context)

    [(t/local-date 2015 1 1)
     (t/local-date 2017 12 31)]))

(def create-context
  {:users [(factory :user, {:email "john@doe.com"})]
   :entities [{:name "Personal"}]
   :commodities [{:name "US Dollar"

                                   (assoc :items []))))))

(deftest item-account-id-is-required
  (let [context (serialization/realize storage-spec base-context)
        transaction (transactions/create
                      storage-spec
                      (-> (attributes context)
