test for Transaction