test on std::thread library