bob: Add and improve tests

- Shorten a test string to avoid line-wrapping.
- In the silence tests, add tabs and newlines.
- Add tests with non-ASCII characters.