do threading tests.