[GIT] Add test for batched generation
# What does this PR do?

Related to #21087, I've added a test for batched generation with GIT.
_The documentation is not available anymore as the PR was closed or merged._<|||||>Failing test is unrelated, merging.