bakery/example: add test and benchmark
Merge pull request #13 from rogpeppe/014-example-test

bakery/example: add test and benchmark