Adding tests for Translator.