unit testing for Cohort module and HomeCtrl