test for many threads