fix the order of the assertion expected vs equal.
add a serialization tests for i2ospOf
speed up serialization primitives using GMP.

using the new GMP primitive to export and import integer,
we can save quite a bit of time from doing it in loopy pure haskell.