Add test for setting rights on collections