Add simple transaction support to test/format.