Added a test for std::thread, since MinGW seems to have <thread> but not std::thread.