Background of issue:
Batch processing in closing an AQ Batch record are causing these issues
Multiple updates on triggering record and is causing Apex CPU Limit to exceed.
Multiple updates on triggering record and is causing duplicate updates on a single record.
Multiple updates on triggering record and is causing SOQL Limit to exceed.
Multiple updates on triggering record and is causing SOQL Limit to exceed.
Joining accounts using the Join Utility on Contact page is causing Apex CPU Limit to exceed.
Unit testing:
When a Transaction record is created or updated, when all conditions are met: