support UnsavedMessageQueue flush and wait
add MessageCloner and more TestDataStore impl
test use UnsavedMessageQueue.flushAndWait
remove unused TODO
add thread leave callback to ThreadTest.SingleTest
fix test sleep cast
add thread update VoteTopicMessage test