Optimizer test cleanup.