add bluetooth test functions to the java part

Add the initBluetooth() function