Adds validation tests for transactions