Thanks a lot @maurobonfietti. I was able to rewrite my test cases and successfully migrated to Slim 4.
Cheers Jannis