fix(mainCtrl): rewrite test