Test XML loading with controller handling