[PATCH 05/10] d3dx9/tests: Add a test for texture refcounts and OnLostDevice().