Henri Verbeet : d3d: Add a test for releasing the device after destroying the window.