improving MainCtrl unit tests