Unit test checks that Output file can be parsed as XML file re #7617

Also some unnecessary includes were removed from the ConvertFullprofToXML.cpp.

Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>