Add more test cases for TransactingMutationListener to distinguish active-transaction case from no-transaction case.