message queue and test