test threads and forks together