Removed SimpleTransactionTest. Fixed bugs.