Use a cleaner approach to the WindowManager handling in the "blendfile loading unit test" base class, to ensure it is freed properly. The commit following this one changes the Action versioning code, which writes to RNA properties, which in turn sends WindowManager notifications, which in turn have to be freed properly whenever the test exits. Pull Request: https://projects.blender.org/blender/blender/pulls/135988