Add explanatory messages to some failure conditions in the test suite.

This avoids having to look up the code to find out what's wrong. I know IDEs make this convenient but I'm still in the habit of running "mvn test" from the command line.

Note: this is by no means all the cases where boolean asserts fail uninformatively, but some that I encountered lately.