All this test data is only used by one testcase. I would move the test data generation in to the specific test_cases.