Preparation for tests.