Add test for hasCapability* methods of ConnectableDevice