test to set roles for appliance