tests: Use the same NMClient as the panel
Doing so means we handle the same events as the panel. This probably makes no difference, but this way it is guaranteed we are not getting weird inconsistencies during testing. Also fixes a NMClient memory leak in the process.
Showing with 4 additions and 0 deletions