fix test failure messages per Go code review guidelines