 
 (deftest ^:api clojure-map-2
   (testing "clojure map api: entity with 2 properties"
-    (let [e (ds/emap!! [:Foo/bar] {:a 1 :b 2})]
+    (let [e (ds/entity-map! [:Foo/bar] {:a 1 :b 2})]
       (log/trace "test: clojure map api")
       (log/trace "entity: " (.entity e))
       (log/trace "e: " e)


(deftest ^:props emap-embedded-map-1
  (testing "using a map as a property value"
    (let [e (ds/emap!! [:Foo/bar] {:a 1, :b {:c 3, :d 4}})]
      (log/trace "test: emap-embedded 1")
      (log/trace "e: " e)
      (log/trace "(e :b): " (e :b) (type (e :b)))


(deftest ^:api emap-1
  (testing "clojure map api: entity with 1 property"
    (let [e (ds/entity-map! [:Dept/IT] {:a 1})]
      (log/trace "test: map-entity-1")
      (log/trace "(map? e) " (map? e))
      (log/trace "(e :a) " (e :a))
