fix to use typedefed type in MessageQueue Thread test