App.generateTrainingData() tests and cleanup

- generateTestData -> generateTrainingData
Add easier test debugging support and added documentation for it