Translation client test code improvement.