Make the RAG translation test more robust.
Comment From: markpollack
merged in 175dc9b72104cbee59b3f9617804a7fadf37071e