I actually meant integrating it with the existing stateblock tests, i.e. test_state_management(), but I can also do that myself afterwards. Please add a test for d3d8 as well though, both render targets and stateblocks are slightly different there.