test fork and exec