Added transaction support. Tx test fails.