Removing RoleAssignmentTests.ps1 code duplication
adding fix from PR https://github.com/Azure/azure-sdk-tools/pull/2901
Merge pull request #2951 from hovsepm/bugfix

Removing RoleAssignmentTests.ps1 code duplication