tested new object serialization against examples