Wrote tests for TestDataGenerator and SampleObjectFactory.