Added a lot of tests for sighash and transaction serialization