Added process_fork_and_execv() function.

Replaced test_action() function in functional_test.c with
process_fork_and_execv().