Added tests up to 32 threads.