Fixed the tests

I fixed the tests so they work with a current mojolicious version.
Possible fix for #8.