Added bluetooth library and started adding tests.
Fixed bluetooth library. Added bluetooth and usb tests.