test proximity sensor