added testcases for the CustomRoleProvider