Improved TransactionManagementTests to use Scala goodies.