Add private statics to PatomicTransaction
Add more unit tests to PatomicTransactionTest