Prepare for test.