fix(core): assertion in serviceTest
Description
See https://git.ircad.fr/sight/sight/-/jobs/805145
It seems a service is still referenced somewhere.
Steps to reproduce
How one can reproduce the issue - this is very important. If the bug depends on a particular environment or platform, please give all relevant details. Paste any relevant logs. Please use code blocks (```) to format these.
Proposal
Optional section to give some functional or technical hints
Functional specifications
If there is any change to the workflow, UX/UI design, screenshots, etc..., please describe it here
Technical specifications
Details of the implementation of the fix
Test plan
Describe how you will verify that the implementation fulfils the specifications