tests for transaction stage
adding tests for transactions