Add a test for the LibUsbThread.
Minor cleanup
Merge pull request #540 from nomis52/libusb-int

Add a test for the LibUsbThread.