Test fork calls in main.