test.sh: cleanup if testrun is interrupted