add test with 4 threads