Task: The leave widget test uses only contracts of the core 

Description 

The test of the leave link in "Meine Anträge" no longer uses an internal class of the core.

Impact 

The architecture test of the package contracts passes.