unit tests for i18n