added mergeInds test script