serialization methods and tests