Fix the I18n deprecation message during tests