Test to set role.