[RBAC] Add mock tests for role assignment cmdlets (2265384)

I think we should consider having a utility function to create and validate an RA by scope or by parameter, so that we don't have this code repeated in multiple places.