Added basic test.

Hey, nice module. I’m about to submit a pull-request with some core changes, but to demonstrate that they’re non-breaking, I’ve wrapped your example in a test. :)