fix repeat of test; remove unused variable by use of each_key
Merge pull request #9763 from vipulnsward/fix_transliterate_test

Fix repeat of test; remove unused variable by use of each_key