Added bluetooth test function