Updated karma config and grunt task, renamed MainCtrl test