proper test cleanup