Added test code to load UI structure from an xml file