Regression tests with two cases: bulk thread test and condition variable test