Adds a test for the transaction