Unit test for NamedFieldsDeserializer