Fixed some problems with i18n tests