fixed test that was depending on Mojolicious internals