move test data generation out of main app