Fleshed out tests for sidejob_supervisor.

Testing which_children and having children terminate.