Yeah good point  - this could actually be the source of future tests not behaving expected since it is just returning the first registered layer. However I dont think we have any logic in our tests that uses ``iface.legendInterface()`` - in fact looking at that mocked API call it is broken as it currently returns a canvas instance (probably a cut & past errro).