subprocess.kill test and variable name cleanup.