Silence smartmatch warnings and fix a test for latest Mojolicious
Merge pull request #4 from jontaylor/master

Silence smartmatch warnings and fix a test for latest Mojolicious