Prepare test.