add failing serialization test
bugfix: script pushdatas using to_big_endian() instead of to_little_endian().