test and message queue