Prepare for tests.