test thread and usb dependency resolution