add test case for kill