Fix failed test on test_translations.

Fix for test_translations.