Made tests clean up forked processes after finishing.