add test for class derivation some minor things I noticed when writing the json_deserialization tests also fix one spelling error in the xml_deserialization
json_deserialization