[BUGFIX] Better mocking in BackendUtility::viewOnClick test