Added test for deserializer