 
 (deftest test-insert-batch
   (testing "test-insert-batch"
-    ((sp/wrap-dbspec dbspec
-       (jd/wrap-sjt insert-batch-test)))))
+    (do-with-dbspec
+      insert-batch-test)))
 
 
 (defn test-ns-hook []


(deftest test-insert-give-id
  (testing "test-insert-give-id"
    ((sp/wrap-dbspec dbspec
       (jd/wrap-sjt insert-give-id-test)))))


(defn insert-give-idmap-test

  (is (= 30 (jd/query-for-int "SELECT age FROM sample WHERE age = :age"
              {:age 30}))))


(deftest test-query-for-int
  (testing "test-query-for-int"
    (do-with-sjt
      query-for-int-test)))


(defn query-for-long-test
