Added the "new transaction" action and tests for it.