Added CreateFieldFromXmlTest

Added a test method to test creating a field from XML.