Test the examples in README.md

And fix any broken ones