fixed broken cloning. updated testfacility and changed transaction matchwith to return a diff between matched transactions and do auto-reduc of qty for unmatched qty