[PATCH v3 1/4] dinput/tests: Fix check_device() test function when multiple HID devices are present.