Suppress error messages in unit tests

These messages are expected and only add noise to the command-line
output when the unit tests run.