TODO: remove always loaded .xml for integrity and use code to generate it instead implement API tests