style cleanup for DetectorTest