updated existing test in TransactionTest.java