Clean error messages, using test report tools.

Closes #41.