make tests pass with Mojolicious 4.0