add a test for saving and loading of layouts into pugi::xml_documents