[PATCH 2/7] d3d10_1/tests: Introduce check_interface() helper function.