dynamic test data generating working.  Still error with subCat on generateTestData function