add return value in the fork
test for the error fork. Not enough memory for the fork