                                :amount-min [1 10]}))))
 
 (deftest get-change-set-test
-  (is (empty? (util/get-change-set {} {})))
-  (is (empty? (util/get-change-set {0 {:id 0
-                                       :name "first"
-                                       :k "v"}
-                                    1 {:id 1
-                                       :name "second"
-                                       :k "c"}}
-
-                                   {0 {:id 0
-                                       :name "first"
-                                       :k "v"}
-                                    1 {:id 1
-                                       :name "second"
-                                       :k "c"}})))
+  (testing "sampe maps"
+    (is (empty? (util/get-change-set {} {})))
+    (is (empty? (util/get-change-set {0 {:id 0
+                                         :name "first"
+                                         :k "v"}
+                                      1 {:id 1
+                                         :name "second"
+                                         :k "c"}}
+
+                                     {0 {:id 0
+                                         :name "first"
+                                         :k "v"}
+                                      1 {:id 1
+                                         :name "second"
+                                         :k "c"}}))))
   (is (= [{:type :update
            :data [{:metadata {:id 0
                              :name "first"}

  (is (= {:components {}
          :notifications []}
         (util/document->state {:components []}
                          {:components []
                           :notifications []})))
  (is (= {:components {2 {:id 2
                       :name "second-component"
                       :tags #{"component"}
                       :amount 3}}
          :notifications []}
         (util/document->state {:components [{:id 2
                                        :name "second-component"
                                        :tags #{"component"}
                                        :amount 3}]}
                          {:components {1 {:id 1
                                           :name "EPR212A408000Z"
                                           :tags #{"optocoupler"}
                                           :amount 7}
                                        2 {:id 2
                                           :name "2N3904"
                                           :tags #{"transistor"}
                                           :amount 8}}
                           :notifications []})))
  (testing "vector transforms into set to maintain BC"
    (is (= {:components {2 {:id 2
                            :name "second-component"

                                  :k "v"}
                               1 {:id 1
                                  :name "second"
                                  :k "k-created"}}))
      "single create")
  (is (= [{:type :create
           :data [{:metadata {:id 1
                              :name "second"}
