The 'Aa' was added because `generateTestUserId ` relies on shortId which can generate a string that is all lowercase or all uppercase.
Those `generateTestUserId` and `generateGroupUserId` are indeed a bit out-of-date (their jsdoc certainly is).

I'll rename the variables to `username` and create a ticket to refactor those methods.