update unit test for transaction_database API changes.