Change branch.
Add structure for test_daemonize() function.
Add argument of function to use value of grandchild pid.
Remove unnecesarry variable.