add db param for transaction() test + fix typo