Add tests for partial deserialization