Add managed object serialization test