tests for script kill command