[Pranjali] Added rspec for Defect_Analysis controller and Comparative_Analaysis controller