Detector test updated

updates by Mihap