Implementing the test integration of BertGeneration
# What does this PR do?

this PR aims to fix issue #9947 by implementing an integration test



Hi @LysandreJik  I was wondering does the test will be for both encoder and decoder?
<|||||>Yes, that would be for the best!