adapted TestDataGenerator