[BUGFIX] Fix failing tests because of getModuleUrl()

The assertions have to be changed to test for encoded url arguments.

Resolves: #59761
Change-Id: I1787937cfa1d41e2b7f242bd4f14af5f0309564d
Reviewed-on: https://review.typo3.org/30988
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Oliver Klee
Tested-by: Oliver Klee