Fix CRM-12560 by matching test trxn_ids only which can be incremented.