Fixing GenericTranslatorTest bugs.