testing for the transaction saving