shouldn't cleanup be done both after and before the test, in case one test run is aborted without cleanup (e.g. ctrl-c)