So just to give some context for that coverage result: This coverage is for the MaestroAPI part of Maestro. It does not cover the WinForms application itself, which I find trying to write automated end-to-end tests (and hence coverage) to be a fruitless endeavor. It will either work or not, that's as good enough of a test as any. MaestroAPI on the other hand, is the engine that drives the application and this is something that definitely needs the test validation and coverage as it has uses outside of the Maestro application and we need objective confidence in the stability and robustness of the MaestroAPI, which these aforementioned services will give us.

From "inside" the viewer (ie. Task Pane content)? You have most of the AJAX viewer API already there for you to use. So in the case of zoom extents, it's parent.parent.ExecuteMapAction(14), 14 being the command code for zoom extents.

From "outside" the viewer? I have yet to decide how outside code can interact with the viewer beyond initializing and mounting the viewer at a particular element.