Add dummy implementation for deserialize and re-use test cases for
deserialization.
Add scaffolding for deserialization