d3d9/tests: Add refcount test for binding objects.