More tests.
Fix StrError, move Format*ErrorMessage to the implementation.