Set up structure for tests.