Replace regex-based tests for error messages with written implementation note

Fixes #30.