add test for Transaction protobuf serialiser