add test for Detector.isCrossed