Use g_assert_finalize_object in unit tests
Review Request #2889 — Created Dec. 17, 2023 and submitted — Latest diff uploaded
This helps to make sure we've cleared all references but can also make the order of things matter. The error messages for that aren't great, but it is a nice check to have.
Ran the unit tests and temporarily changed the order to verify failures.