add a thread & msg test
Merge pull request #57 from mehlis/test-thread-msg

add a thread & msg test