Document serialization test.