Corrected pre-test clean up.