Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54085
Fixes test randomly crashing on Win10 Testbot machines.
I think the test added by me after (test_DeviceAccessInformation) this one is just getting hit by the consequences of test_DeviceInformation. I guess what is happening here is that sometimes Windows accesses the handlers (maybe releases) after test_DeviceInformation() is exited already and the test interface implementation (which implements reference counting but uses structure on stack) accesses the popped stack data.
It is the second patch which seems to actually fix the test crash.