working on crisisdetector testcase