test: issue with concurrent requests in getOrGenerate function.