test a few examples from the documentation
test all remaining examples from the documentation

Ideally, those tests should be extracted automatically from the README
and the documentation.

some of the tests are disabled, because they fail.
remove trailing whitespace
fix example from documentation

echo doesn't interpret escape sequences, printf does.
fix doc and tests: ByteString must be qualified.