Updated TestDataGenerator which creates metadata.js