Transaction creation, parsing, tests