Add new gtest files
delete useless files. And add thread test code