Added basic script serialization
Added transaction serialization test script