test(cli): improve upon deletion of test files in case something crashed before