add test case for homeCtrl