merge_table.pl: Now it considers the substitutive test.