H. Verbeet : d3d9: Add a surface locking test.