add more test code for MessageListener