Fill in remaining process-killing tests and implement functionality