Test of TransactionSynchronizationRegistry