Update test case for preexec_fn