Added a thread test case.

Original commit message from CVS:
Added a thread test case.
4 files changed