[shitou] - remove injection in TextMessageHandler, and add test