complete test of MsgQueue, Cond, Mutex