   (async done
     (go
       (is (= (<! (p/parse {:db ts/connection} [:app/courses]))
-             {:app/courses [{:db/id 4} {:db/id 7}]}))
+             {:app/courses [{:db/id 4 :db/table :course} {:db/id 7 :db/table :course}]}))
 
       (is (= (<! (p/parse {:db ts/connection} [{:app/courses [:db/id :course/title]}]))
-             {:app/courses [{:db/id 4 :course/title "Reading Music"}
-                            {:db/id 7 :course/title "Music:  A Beginner's Guide"}]}))
+             {:app/courses [{:db/id 4 :course/title "Reading Music" :db/table :course}
+                            {:db/id 7 :course/title "Music:  A Beginner's Guide" :db/table :course}]}))
 
       (done))))
 

                                     :table :course
                                     :ast   (om/query->ast [:db/id :course/title])}
                                    [[:where {:url/slug "reading-music"}]]))
             {:db/id 4, :course/title "Reading Music"}))

      (is (= (<! (p/query-sql-first {:db    ts/connection
                                     :table :course

                                                                  {:course/topics [:db/id :topic/title]}
                                                                  {:limit 2})])}
                                    [[:where {:db/id 4}]]))
             {:db/id 4 :course/topics [{:db/id 18 :db/table :topic :topic/title "Getting Started"}
                                       {:db/id 19 :db/table :topic :topic/title "Staff and Clefs"}]
              :db/table :course}))
      (done))))

(deftest parser-read-topics
