Integration tests for i18n hook