test gesture detection