Added test for inner transaction.