add tests for kill and remove