[BUGFIX] Incomplete mocking in ext:frontend getImgResourceHook test