test deserialization