Feature/dest xml

Ok, checked and working.
About the tests, I guess we should have a look at them, because some are failing with "unknown command line X". I've added a test for the output that should work