add test cases of Thread class
execution of build/host/test/mrbtest makes segmentation fault on linux