Test for Object Serialization