improved tests for Translator class