add test for set_access_rules