Added test for transaction database update