Removing RoleAssignmentTests.ps1 code duplication