Tests for DetectEditHelper view helper