add roles and internal test switch settings