Add test for role permissions
Update test