[TASK] Slight refactoring in ControllerActions ViewHelper to better test