Improve tests

I noticed that the examples in the readme don't actually work out of the box, so I added a bit of travis test coverage to demonstrate.