Fixed some test structures for transactions