 
         (testing "for guest users"
           (are [user permissions]
-            (= {"C1200000001-PROV1" permissions}
+            (= {coll1 permissions}
                (get-collection-permissions user))
             :guest ["read" "order"]
             :registered []

                                                                                       :end_date "2006-01-01T00:00:00Z"
                                                                                       :mask "disjoint"}}
                                                    :provider_id "PROV1"}})
        (is (= {"C1200000000-PROV1" ["read"]
                "C1200000001-PROV1" []
                "C1200000002-PROV1" ["read"]
                "C1200000003-PROV1" []}
               (get-coll-permissions))))

      (testing "\"contains\" mask"

                                            :provider_id "PROV1"}})]

      (testing "\"intersect\" mask"
        (is (= {coll1 ["read"]
                coll2 ["read"]
                coll3 ["read"]
                coll4 []}
               (get-coll-permissions))))

      (testing "\"disjoint\" mask"
