Add assert failure messages to some tests.

Added assert failure messages to some tests that were failing.

Prefaced unused variable with '_' to indicate to reader that it is unused (see https://github.com/bbatsov/ruby-style-guide).