Ensure that tests work correctly when fork() is used
