Catch exceptions when formatting test messages

Fixes https://github.com/feuerbach/tasty-html/issues/15