CRM-12984 - Create api.complete transaction

add particupant completetransaction test (version with debug)