Testing Core Bluetooth Central and Peripheral Roles