Fixed java version of i18n test.
Relates to #253