core round trip serialization testing.