Serialization tests, shared_ptr actually supported now.