Added process_xml
Added tests for processing