Test run preparation.