                  "fqdn" "myhost.mydomain.com"
                  "hostname" "myhost"
                  "kernel" "Linux"
-                 "operatingsystem" "Debian"}
+                 "operatingsystem" "Debian"
+                 "excitement?" true
+                 "version" 1
+                 "temperature" 273.16
+                 "binary" [0 1]}
           producer "bar.com"]
       (add-certname! certname)
 

                           "fqdn" "myhost.mynewdomain.com"
                           "hostname" "myhost"
                           "kernel" "Linux"
                           "uptime_seconds" "3600"}]
            (replace-facts! {:certname certname
                             :values new-facts
                             :environment "DEV"

                   :environment nil
                   :producer_timestamp previous-time
                   :producer producer})

      (testing "should have entries for each fact"
        (is (= facts (factset-map certname)))
        (is (jdbc/with-db-transaction []
              (timestamp-of-newest-record :factsets  "some_certname")))
        (is (= facts (factset-map "some_certname"))))
