pre-test cleanup