Base serialization test