dector test