Prepare for testing.