Attempt a more robust solution to https://rt.cpan.org/Public/Bug/Display.html?id=46691

Don't cache the filters in the plugin, just return the filter sub directly. Thanks to haarg on #tt. I tried to make the test fit in as well as I could with the rest of your code.