add test for TranslatorBase