Preparations for distribution tests.