Nikolay Sivov : d3d10/tests: Use IsValid() instead of null checks.