Implemented deserialization tests