Add tests for module and homeCtrl