pointerdetector: Remove unused variable in test