[Bluetooth] Device discoverable test

This repaces pull request #704 by resolving the merge conflicts