added script to kill test, slight modifications to testing scripts