Update the majority of the unit tests to not use the default manager
Review Request #3336 — Created Aug. 2, 2024 and submitted — Latest diff uploaded
Way back when these tests were created you could only interact with the default
plugin manager. That has changed, so the tests needed to be updated to reflect
that which makes managing state and everything much easier.There are also some other random cleanups here.
Ran the turtles and most of the tests under valgrind. Some of them have some leaks yet that seem unrelated to the test code.