(test) adds tests for transaction and transaction/new