[Upg] fix namespace, etc
[Add] Permission/PermissionProvider testing