[PATCH 10/18] selftests/hid: import base_device.py from hid-tools