Beefing up unit tests for translator.