Fix deprecation warning for i18n 0.6.9

Without this, i18n 0.6.9 issues a deprecation warning on test.