More unit tests for Deserializer.