add thread test code :
1. get return value with thread.
2. the code of sleep thread.