tests: In test-chrono-chat, Added trim(string).