Testing RightsManager.