Doc: fix some typos.
Make `make test` test the documentation examples too.