Added comment for generateTestData method