test: change the way how kill() is tested