 
     (testing "update existing record"
       (let [id (uuid/v1)
-            _ @(r/insert tu/*model-session*
-                         :upsert_primary_without_unique_keys_test
-                         {:id id :nick "blah" :a "olda" :b "oldb"})
+            _ (tu/insert-record :upsert_primary_without_unique_keys_test
+                                {:id id :nick "blah" :a "olda" :b "oldb"})
             r @(uk/upsert-primary-record-without-unique-keys
                 tu/*model-session*
                 m

    (testing "with only-if"
      (testing "if it already exists"
        (let [id (uuid/v1)
              _ @(r/insert tu/*model-session*
                           :upsert_primary_without_unique_keys_test
                           {:id id :nick "blah" :a "olda" :b "oldb"})
              r @(uk/upsert-primary-record-without-unique-keys
                  tu/*model-session*
                  m
                  {:id id :nick "foo" :a "newa" :b "newb"}
                  (ts/default-timestamp-opt
                   {:only-if [[:= :nick "blah"]]}))]
          (is (= [{:id id :nick "blah" :a "newa" :b "newb"} nil]
                 r))))

      (testing "if it doesn't already exist"


    (testing "with if-not-exists"

      (let [[id id-b] [(uuid/v1) (uuid/v1)]]
        (testing "if it doesn't already exist"
          (let [r @(uk/upsert-primary-record-without-unique-keys
                    tu/*model-session*
