Changed logic for creating test instance. Setting the sample Instances as header info.