First stab at transactions.
More testing for transactions.