add some threading tests.