Solved i18n deprecation warning in tests