Add alg.kill to SampleTest