Move test_thread over to unittest. Commits GHOP 237.

Thanks Benjamin Peterson for the patch.
3 files changed